import request from '@/utils/request'

// 查询意向用户信息列表
export function listIntendeduser(query) {
  return request({
    url: '/system/intendeduser/list',
    method: 'get',
    params: query
  })
}

// 查询意向用户信息详细
export function getIntendeduser(infoId) {
  return request({
    url: '/system/intendeduser/' + infoId,
    method: 'get'
  })
}

// 新增意向用户信息
export function addIntendeduser(data) {
  return request({
    url: '/system/intendeduser',
    method: 'post',
    data: data
  })
}

// 修改意向用户信息
export function updateIntendeduser(data) {
  return request({
    url: '/system/intendeduser',
    method: 'put',
    data: data
  })
}

// 删除意向用户信息
export function delIntendeduser(infoId) {
  return request({
    url: '/system/intendeduser/' + infoId,
    method: 'delete'
  })
}

// 导出意向用户信息
export function exportIntendeduser(query) {
  return request({
    url: '/system/intendeduser/export',
    method: 'get',
    params: query
  })
}